CODEBOOK FOR EACH DATASET FOR ANALYSIS

/data/analysis/dataset1_oldschool.csv: Processed data on shifts in territorial control (the barangay-year level, no staggered adoption design).
	•ADM3_PCODE: Municipality code based on the Philippine Standard Geographic Code (PSGC)
	•ADM4_PCODE: Barangay code based on PSGC
	•LATITUDE: Central latitude of the barangay 
	•LONGITUDE: Central longitude of the barangay
	•Influence2: NPA presence (1 = present, 0 = absent)
	•Tchange_inf2: Shift in territorial control (1 = occurred, 0 = did not occur)
	•ND_1.5_bar - ND_2_bar: Rainfall-related natural disaster occurrence (z-value thresholds: 1.5 to 2.0) (1 = occurred, 0 = did not occur)
	•Enclave_inf2: Barangay in enclave setting (1 = yes, 0 = no)
	•Mixed_inf2: Barangay in mixed setting (1 = yes, 0 = no)
	•Enclave_inf2_nb_d: Any neighboring barangay in enclave setting (1 = yes, 0 = no)
	•Mixed_inf2_nb_d: Any neighboring barangay in enclave setting (1 = yes, 0 = no)
	•Enemy_around: Any neighboring barangays under enemy control (1 = yes, 0 = no)
	•Enemy_0.1 - Enemy_0.9: More than certain proportions of neighboring barangays under enemy control (10%–90%) (1 = yes, 0 = no)
	•NightLight: Night light intensity index (continuous variable)


/data/analysis/dataset1_staggeredadoption.csv: Same as above, but generated using the staggered adoption design.
	•Treated: Natural disaster occurrence (staggered adoption) (1 = occurred, 0 = did not occur)
	•NDtreated_nb_d: Spatial lag of treatment (neighboring barangay experienced disaster) (1 = yes, 0 = no)
	•All other variables are the same as in dataset1_oldschool.csv. 

/data/analysis/dataset2_oldschool.csv: Processed data on battle-related violence (the barangay-month level, no staggered adoption design)
	•npa: Battle-related violence in current month (1 = occurred, 0 = did not occur)
	•npa_count: Number of battle-related violence in the given month
	•npa_after1 - npa_after6: Violence in the 12 months following the given month, measured from +1 to +6 months forward (1 = yes, 0 = no)
	•rci: Rainfall Concentration Index (continuous variable)
	•All other variables are same as above

/data/analysis/dataset2_staggeredadoption.csv: Same as above, but generated with staggered adoption.
	•All other variables are same as above

/data/analysis/dataset1_month.csv: Processed data on shifts in territorial control (the barangay-month level, no staggered adoption design)
	•nd_em_dat: Disaster occurrence based on EM-DAT (1 = occurred, 0 = did not occur)
	•All other variables are same as above

/data/analysis/dataset1_month_staggeredadoption.csv: (the barangay-month level, no staggered adoption design)
	•All variables are same as above

/data/analysis/dataset_mun_*_*.csv: Municipality-year level data on shifts in territorial control, generated both with and without staggered adoption. The suffixes *_1.csv and *_2.csv indicate versions without and with staggered adoption, respectively. The values 0.2, 0.3, and 0.4 represent thresholds for classifying the territorial setting (based on the share of NPA-controlled barangays within a municipality)
	•nd_1.6: Natural disaster occurrence (z = 1.6 threshold) (1 = occurred, 0 = not)
	•Enclave_inf2_0.2 - Municipality classified as an enclave (based on 20–40% thresholds) (1 = yes, 0 = no)  
	•Mixed_inf2_0.2 – Mixed_inf2_0.4: Municipality classified as mixed (same thresholds) (1 = yes, 0 = no)  
	•Tchange_inf2_0.2 – Tchange_inf2_0.4: Territorial shift occurrence (1 = yes, 0 = no)
